package fr.afcepf.atod18.hotels.dao.interfaces;

import java.util.List;

import fr.afcepf.atod18.hotels.entities.Selections;

public interface ISelectionsDAO {

	public abstract void persist(Selections transientInstance);

	public abstract void remove(Selections persistentInstance);

	public abstract Selections merge(Selections detachedInstance);

	public abstract Selections findById(int id);

	public abstract List<Selections> findSelectionsByUserId(int userId);

	public abstract List<Selections> findActiveSelectionsByUserId(int userId);

	public abstract List<Selections> findOldSelectionsByUserId(int userId);

}